<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <link rel="stylesheet" href="../layui/css/layui.css"  media="all">
    <title></title>
</head>
<body>
<form class="layui-form" action="javascript:;">

    <input type="hidden" id="id" name="id">

    <div class="layui-form-item">
        <label class="layui-form-label">设备编号*</label>
        <div class="layui-input-inline">
            <input type="hidden" lay-verify="deviceid" class="layui-input deviceid" id="deviceid" value="">
            <input type="hidden" lay-verify="sorting" class="layui-input sorting" id="sorting" value="">
            <input type="hidden" lay-verify="operators" class="layui-input operators" id="operators" value="">
            <input type="hidden" lay-verify="venues" class="layui-input venues" id="venues" value="">
            <input type="text" id="devicenumber" name="devicenumber" lay-verify="devicenumber"
                   autocomplete="off" placeholder="请输入设备编号" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">设备名称</label>
        <div class="layui-input-inline">
            <input type="text" id="devicename" name="devicename" lay-verify="devicename"
                   autocomplete="off" placeholder="请输入设备名称" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">商品货道*</label>
            <div class="layui-input-inline">
                <input type="text" id="rownumber" name="rownumber" lay-verify="rownumber"
                       autocomplete="off" placeholder="" class="layui-input">
            </div>
            <label class="layui-form-label">行</label>
            <div class="layui-input-inline">
                <input type="text" id="columnnumber" name="columnnumber" lay-verify="columnnumber"
                       autocomplete="off" placeholder="" class="layui-input">
            </div>
            <label class="layui-form-label">列</label>
        </div>

    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">货道最大容量*</label>
        <div class="layui-input-inline">
            <input type="text" id="stockmaxqty" name="stockmaxqty" lay-verify="stockmaxqty"
                   autocomplete="off" placeholder="请输入货道最大容量" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">预警库存*</label>
        <div class="layui-input-inline">
            <input type="text" id="stockflag" name="stockflag" lay-verify="stockflag"
                   autocomplete="off" placeholder="请输入预警库存" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">所属分拣中心*</label>
        <div class="layui-input-inline">
            <select name="sortingid" id="sortingid" lay-filter="sortingid"></select>
        </div>
        <button type="button" id="sorting_partners" class="layui-btn layui-btn-warm">添加合伙人</button>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">分拣中心垃圾分成比例*</label>
        <div class="layui-input-inline">
            <input type="text" id="sortinggrcomrate" name="sortinggrcomrate" lay-verify="sortinggrcomrate"
                   autocomplete="off" placeholder="请输入分拣中心垃圾分成比例" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">分拣中心商品分成比例*</label>
        <div class="layui-input-inline">
            <input type="text" id="sortinggoodscomrate" name="sortinggoodscomrate" lay-verify="sortinggoodscomrate"
                   autocomplete="off" placeholder="请输入分拣中心商品分成比例" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">所属运营商</label>
        <div class="layui-input-inline">
            <select name="operatorsid" id="operatorsid" lay-filter="operatorsid"></select>
        </div>
        <button type="button" id="operators_partners" class="layui-btn layui-btn-warm">添加合伙人</button>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">运营商垃圾分成比例</label>
        <div class="layui-input-inline">
            <input type="text" id="operatorsgrcomrate" name="operatorsgrcomrate" lay-verify="operatorsgrcomrate"
                   autocomplete="off" placeholder="请输入运营商垃圾分成比例" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">所属合伙人</label>
        <div class="layui-input-inline">
            <select name="partnersid" id="partnersid" lay-filter="partnersid"></select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">合伙人垃圾分成比例</label>
        <div class="layui-input-inline">
            <input type="text" id="partnersgrcomrate" name="partnersgrcomrate" lay-verify="partnersgrcomrate"
                   autocomplete="off" placeholder="请输入合伙人垃圾分成比例" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">合伙人商品分成比例</label>
        <div class="layui-input-inline">
            <input type="text" id="partnersgoodscomrate" name="partnersgoodscomrate" lay-verify="partnersgoodscomrate"
                   autocomplete="off" placeholder="请输入合伙人商品分成比例" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">场地名称</label>
        <div class="layui-input-inline">
            <select name="venuesid" id="venuesid" lay-filter="venuesid" lay-verify="venuesid"></select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">设备地址</label>
        <div class="layui-input-inline">
            <select name="position" id="position" lay-filter="position" lay-verify="position">
            </select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">详细地址</label>
        <div class="layui-input-inline">
            <input type="text" id="address" name="address" lay-verify="address"
                   autocomplete="off" placeholder="请输入详细地址" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">营业状态*</label>
        <div class="layui-input-block">
            <input type="radio" name="isFlag" class="isflag" value="2" title="正常" checked="">
            <input type="radio" name="isFlag" class="isflag" value="1" title="禁用">
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
            <button type="button" id="close" class="layui-btn layui-btn-primary">取消</button>
        </div>
    </div>

</form>

</body>
<script src="../layui/layui.js"></script>
<script src="../../js/device/addDevice.js"></script>
</html>